package com.weipai.springboot.module.service;

import com.weipai.springboot.model.api.Response;

import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/08/28 19:38
 */
public interface EvaluateService {
    
    //分页查询
    Response selectAllByPage(Integer page, Integer size, String draw);

    //审核
    Response evaluateAudit(Integer id, Integer status);

    //回复评论
    Response replyEvaluate(Integer id, String replyText);

    //获取评论内容
    Response getEvaluateInfo(Integer id);

    //删除
    Response batchDeleteById(String[] id);

    //前端调用，某一货品的所有评论，分页查询
    Response getEvaluateBySpuNumber(Integer page, Integer size, String spuNumber, String draw, Integer judgeValue);
}
